﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace OpenESSOConfigurator.BusinessLayer.Atoms
{
    [Serializable]
    public class CredentialSharingGroup
    {
        private String _id;
        private String _name;
        private String _version;
        private String _description;
        private Boolean _identifier;
        private Boolean _password;
        private Boolean _thirdField;
        private Boolean _fourthField;

        public CredentialSharingGroup()
        { }

        [XmlAttribute("id")]
        public String Id
        {
            get { return _id; }
            set { _id = value; }
        }
        [XmlAttribute("name")]
        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }
        [XmlAttribute("version")]
        public String Version
        {
            get { return _version; }
            set { _version = value; }
        }
        public String Description
        {
            get { return _description; }
            set { _description = value; }
        }
        [XmlAttribute("iden")]
        public Boolean Identifier
        {
            get { return _identifier; }
            set { _identifier = value; }
        }
        [XmlAttribute("pwd")]
        public Boolean Password
        {
            get { return _password; }
            set { _password = value; }
        }
        [XmlAttribute("third")]
        public Boolean ThirdField
        {
            get { return _thirdField; }
            set { _thirdField = value; }
        }
        [XmlAttribute("fourth")]
        public Boolean FourthField
        {
            get { return _fourthField; }
            set { _fourthField = value; }
        }
    }
}
